home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Files / XTND 1.3.6 / Application Examples / PascalSource / Makefile next >
Encoding:
Makefile  |  1991-06-04  |  2.8 KB  |  80 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    XTND-Capable, MultiFinder-Aware Simple Styled TextEdit Sample Application
  5. #
  6. #    XTEStyleSample
  7. #
  8. #    XTEStyleSample.p    -    Pascal Source
  9. #
  10. #    Copyright © 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                        10/89
  14. #                2.0                        3/91
  15. #
  16. #    Components:    XTEStyleSample.p            March 29, 1991
  17. #                XTEStyleSampleGlue.a        March 29, 1991
  18. #                XTEStyleSample.r            March 29, 1991
  19. #                XTEStyleSample.h            March 29, 1991
  20. #                Makefile                    March 29, 1991
  21. #
  22. #    TEStyleSample is an example application that demonstrates how 
  23. #    to initialize the commonly used toolbox managers, operate 
  24. #    successfully under MultiFinder, handle desk accessories and 
  25. #    create, grow, and zoom windows. Both styled and fundamental TextEdit 
  26. #    toolbox calls and TextEdit autoscroll are demonstrated. It 
  27. #    also shows how to create and maintain scrollbar controls as well
  28. #    as implementing a basic printing loop.
  29. #
  30. #    It does not by any means demonstrate all the techniques you 
  31. #    need for a large application. In particular, TEStyleSample does not 
  32. #    cover exception handling, multiple windows/documents, 
  33. #    sophisticated memory management, or undo. All of 
  34. #    these are vital parts of a normal full-sized application.
  35. #
  36. #    This application is an example of the form of a Macintosh 
  37. #    application; it is NOT a template. It is NOT intended to be 
  38. #    used as a foundation for the next world-class, best-selling, 
  39. #    600K application. A stick figure drawing of the human body may 
  40. #    be a good example of the form for a painting, but that does not 
  41. #    mean it should be used as the basis for the next Mona Lisa.
  42. #
  43. #    We recommend that you review this program, TESample or Sample before 
  44. #    beginning a new application. TESample is a simpler version of TEStyleSample
  45. #    without styles and Sample is a simple app. which doesn’t 
  46. #    use TextEdit or the Control Manager.
  47. #
  48.  
  49. XTNDLibPath = :::XTND Headers:XTNDLibraries:    ### Change this if you reorganize the folder structure
  50. HeaderPath    = :::XTND Headers:XTNDPInterfaces:    ### Change this if you reorganize the folder structure
  51.  
  52. POptions    = -sym full -i "{HeaderPath}"
  53.  
  54. PLibs    =    "{XTNDLibPath}"XTNDInterfacelib.o    ∂
  55.             "{Libraries}"Runtime.o ∂
  56.             "{Libraries}"Interface.o ∂
  57.             "{PLibraries}"PasLib.o
  58.  
  59. PObjs    =    XTEStyleSample.p.o ∂
  60.             XTEFileIO.p.o ∂
  61.             XTEStyleSampleGlue.a.o
  62.  
  63. XTEStyleSample        ƒƒ {PObjs} {PLibs} Makefile
  64.             Link -sym full -o {Targ} {PObjs} {PLibs}
  65.             SetFile {Targ} -t APPL -c 'XTND' -a B
  66.  
  67. XTEStyleSample        ƒƒ XTEStyleSample.r XTEStyleSample.h Makefile
  68.             Rez -rd -append -o {Targ} XTEStyleSample.r
  69.  
  70. XTEStyleSample.p.o    ƒƒ    Makefile XTEStyleSample.p ∂
  71.                         "{HeaderPath}"XTNDInterface.p ∂
  72.                         "{HeaderPath}"XTNDTextTranslator.p ∂
  73.                         "{HeaderPath}"XTNDPictTranslator.p ∂
  74.                         XTEFileIO.p.o
  75.  
  76. XTEFileIO.p.o    ƒ    XTEFileIO.p ∂
  77.                     "{HeaderPath}"XTNDInterface.p ∂
  78.                     "{HeaderPath}"XTNDTextTranslator.p ∂
  79.                     "{HeaderPath}"XTNDPictTranslator.p
  80.